home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt00.dir / 00024_Script_24 < prev    next >
Text File  |  1994-11-15  |  5KB  |  186 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame
  4.   cursor 4
  5.   set dialogOn = FALSE
  6.   set currMM = "FLWMM"
  7.   set nowFrame = "ltear867000f°°"
  8.   getCurrCast
  9.   puppetsprite 9, TRUE
  10.   puppetSprite 11, TRUE
  11.   puppetSprite 12, TRUE
  12.   puppetSprite 4, TRUE
  13.   puppetSprite 8, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22.   set realWorld = the number of cast A12
  23.   set currworld = "w01"
  24. end startMovie
  25.  
  26. on stepMovie
  27.   global nowFrame,currFrame
  28.   if nowFrame <> currFrame then
  29.     seeAlsoList
  30.     set currFrame = nowFrame
  31.   end if
  32. end stepMovie
  33.  
  34. on stopMovie
  35.   put " " into field "seeAlsoText"
  36.   set the castNum of sprite 21 to 1050
  37.   puppetSprite 21, FALSE
  38.   updateStage
  39. end stopMovie
  40.  
  41. on saveLocals
  42.   global lastFrame, nowFrame, lastMovie, origLocH
  43.   set lastMovie = the movie
  44.   set lastFrame = nowFrame
  45. end saveLocals
  46.  
  47. on ltForStep
  48.   go to frame "ltear867001°°°" of movie "FLWLT01"
  49. end ltForStep
  50.  
  51. on ltBackStep
  52.   beep
  53. end ltBackStep
  54.  
  55. on getCurrCast
  56.   global currUp1, currUp2, currUp3, currUp4, currUp5
  57.   global nowFrame
  58.   put chars(nowFrame,3,8) into currMain
  59.   set currUp1 = the number of cast (currMain & "001up")
  60.   set currUp2 = currUp1 + 1
  61.   set currUp3 = currUp1 + 2
  62.   set currUp4 = currUp1 + 3
  63.   set currUp5 = currUp1 + 4
  64. end getCurrCast
  65.  
  66. on checkNav
  67.   if rollover(11) then
  68.     set the castNum of sprite 11 to the number of cast "rightUp"
  69.   else
  70.     set the castNum of sprite 11 to the number of cast "rightRt"
  71.   end if
  72.   cursor -1
  73.   updateStage
  74. end checkNav
  75.  
  76. on buttonState
  77.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  78.   
  79.   if dialogOn = FALSE then
  80.     
  81.     --sticking local call here for convenience
  82.     worldLite
  83.     if the mouseV > 200 or bFlag = TRUE then
  84.       set bFlag = FALSE
  85.       doState
  86.     end if
  87.   end if
  88. end buttonState
  89.  
  90. on scrollRight
  91.   if the clickon = 11 then
  92.     sound stop 1
  93.     startTimer
  94.     repeat while the timer < 2
  95.       set the castNum of sprite 11 to the number of cast "rightDn"
  96.       updateStage
  97.     end repeat
  98.     timeRight
  99.     flush
  100.   end if   
  101. end scrollRight
  102.  
  103. on scrollLeft
  104.   if the clickon = 12 then
  105.     sound stop 1
  106.     startTimer
  107.     repeat while the timer < 2
  108.       set the castNum of sprite 12 to the number of cast "leftDn"
  109.       updateStage
  110.     end repeat
  111.     timeLeft
  112.     flush
  113.   end if  
  114. end scrollLeft
  115.  
  116. on timeLeft
  117.   beep
  118. end timeLeft
  119.  
  120. on timeRight
  121.   go to movie "FLWLT02"
  122. end timeRight
  123.  
  124. on worldLite
  125.   global currWorld, realWorld
  126.   if rollover(9) then
  127.     set the castNum of sprite 9 to the number of cast currWorld
  128.   else
  129.     set the castNum of sprite 9 to the number of cast realWorld
  130.   end if
  131. end worldLite
  132.  
  133. on rollVLB1
  134.   global currUp1, currUp2, currUp3, currUp4, currUp5
  135.   if the mouseH >168 and the mouseH < 282 and the mouseV > 158 and the mouseV < 225 then
  136.     set the castNum of sprite 4 to currUp1
  137.     if the mouseDown then 
  138.       set the castNum of sprite 4 to the number of cast "allDown"
  139.     end if
  140.   else if the mouseH > 251 and the mouseH < 334 and the mouseV > 75 and the mouseV < 156 then
  141.     set the castNum of sprite 4 to currUp2
  142.     if the mouseDown then 
  143.       set the castNum of sprite 4 to the number of cast "allDown"
  144.     end if
  145.   else if the mouseH > 337 and the mouseH < 452 and the mouseV > 140 and the mouseV < 225 then
  146.     set the castNum of sprite 4 to currUp3
  147.     if the mouseDown then 
  148.       set the castNum of sprite 4 to the number of cast "allDown"
  149.     end if
  150.   else if the mouseH > 454 and the mouseH < 538 and the mouseV > 75 and the mouseV < 172 then
  151.     set the castNum of sprite 4 to currUp4
  152.     if the mouseDown then 
  153.       set the castNum of sprite 4 to the number of cast "allDown"
  154.     end if
  155.   else if the mouseH > 532 and the mouseH < 618 and the mouseV > 152 and the mouseV < 225 then
  156.     set the castNum of sprite 4 to currUp5
  157.     if the mouseDown then 
  158.       set the castNum of sprite 4 to the number of cast "allDown"
  159.     end if
  160.   else 
  161.     set the castNum of sprite 4 to the number of cast "allDown"
  162.   end if
  163.   updateStage
  164. end rollVLB1
  165.  
  166. on jumpVLB1
  167.   global dialogOn
  168.   if dialogOn = FALSE then
  169.     sound stop 1
  170.     if the clickOn < 7 or the clickOn > 23 then
  171.       if the mouseH >168 and the mouseH < 282 and the mouseV > 158 and the mouseV < 225 then
  172.         go to frame "ltear867001°°°" of movie "FLWLT01"
  173.       else if the mouseH > 251 and the mouseH < 334 and the mouseV > 75 and the mouseV < 156 then
  174.         go to frame "ltear867002°°°" of movie "FLWLT01"
  175.       else if the mouseH > 337 and the mouseH < 452 and the mouseV > 140 and the mouseV < 225 then
  176.         go to frame "ltear867003°°°" of movie "FLWLT01"
  177.       else if the mouseH > 454 and the mouseH < 538 and the mouseV > 75 and the mouseV < 172 then
  178.         go to frame "ltear867004°°°" of movie "FLWLT01"
  179.       else if the mouseH > 532 and the mouseH < 618 and the mouseV > 152 and the mouseV < 225 then
  180.         go to frame "ltear867005°°°" of movie "FLWLT01"
  181.       else 
  182.         nothing
  183.       end if
  184.     end if
  185.   end if
  186. end jumpVLB1